﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel;

namespace Twodi.Interfaces
{
    public interface IContainer<T>
    {
        /// <summary>
        /// Adicionar multiplos componentes ao container.
        /// </summary>
        /// <param name="components">Componentes a serem adicionados ordenadamente.</param>
        void Add(params T[] components);

        /// <summary>
        /// Componentes do container.
        /// </summary>
        BindingList<T> Components { get; }
    }
}
